package com.masterclient.app.modules.order.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.order.PaySuccessBean;
import com.eoner.baselibrary.bean.order.PresentationShareBean;
import com.eoner.commonbean.popup.CommonPopUpBean;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/8/25 14:16
 * 功能说明：
 */

public interface PaySuccessContract {

    interface View extends BaseView {
      void getPaySuccess(PaySuccessBean.DataBean bean);
      void getPaySuccessFailed(String msg);
      void getDialogSuccess(List<CommonPopUpBean> bean);
      void getShareDataSuccess(PresentationShareBean shareBean);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getShareData(String order_no);

        public abstract void paySuccess(String trade_no, String type);

        public abstract void getPopUpData(String channel,  String location,String trade_no);
        
    }
}